import request from "@/request";

// 获取用户信息
export const UserInfoAPI = (): RES<IUserInfoModel> =>
  request.get("/admin/info");

// 登出
export const LogoutAPI = () => request.post("/admin/logout");
